package com.hnust.root.common.constant;

/**
 * @Author zhusir
 * @Date 2019/1/26
 * @Desc 返回数据常量
 */
public class ResultConstant {
    public static final int SUCCESS_CODE = 0;
    public static final String SUCCESS = "操作成功";

    public static final int ERROR_CODE = 1;
    public static final String ERROR = "操作失败";

    // 错误码：10 ~ 100
    public static final int SERVER_FIAL_CODE =10;
    public static final String SERVER_FIAL_MSG = "服务器内部错误";

    public static final int DATEBASE_FAIL_CODE = 11;
    public static final String DATABASE_FAIL_MSG = "数据库操作失败";

    public static final int LOGIC_ERROR = 12;
    public static final String LOGICERROR_MSG = "业务逻辑错误";

    public static final String GET_TOKEN_FAIL = "获取Token失败";

    public static final String FILE_OP_FAIL = "文件操作失败！";


}
